<?
$v_current_item_id = 0;
if (isset($_REQUEST['hdn_item_id'])){
	$v_current_item_id = $_REQUEST['hdn_item_id'];
}
//echo $v_current_item_id;
if(isset($_REQUEST['hdn_filter'])){
	$v_filter = _replace_bad_char(trim($_REQUEST['hdn_filter']));
}else { 
	$v_filter = "";
}
if (_is_sqlserver()){
	$v_filter = "%".$v_filter."%";
	$v_status = -1;
	$cmd = mssql_init("USER_PositionGetAll",$conn);
	@mssql_bind($cmd,"@p_filter",$v_filter,SQLVARCHAR);
	@mssql_bind($cmd,"@p_status",$v_status, SQLINT4);
	$result = @mssql_execute($cmd);
	$arr_all_position = _get_row_to_array($result);
}
?>
